<h2>Loan History</h2>
<hr/>
<p>Loan History for a specified item is detailed on this page.</p>
<center>
<table>
<tr>
	<th align="right" width=30%>Accession Number:</th>
	<td><?php echo $volume->access_id; ?></td>
</tr>
<tr>
	<th align="right">Call Number:</th>
	<td><?php echo $volume->call_number; ?></td>
</tr>
<tr>
	<th align="right">Title:</th>
	<td><?php echo $volume->title; ?></td>
</tr>
</table>
</center>
<br />

<!-- Loan History for Volume -->
<h2 align="left">Loan History</h2>
<center>
<table>
<tr>
	<th width=30%>Subscriber Number</th>
	<th>Loan Date</th>
	<th>Due Date</th>
	<th>Return Date</th>
 <tr>
 
<?php
foreach ($loans->result() as $loan)
{
	echo '<tr>';

	// Details
	echo '<td>' . anchor('staff/subscriber_management/viewSubscriber/' . $loan->subscriber_id, $loan->subscriber_id) . '</td>';
	echo '<td>' . $loan->loan_date . '</td>';
	echo '<td>' . $loan->due_date . '</td>';
	echo '<td>' . $loan->return_date . '</td>';
	
	echo '</tr>';
}
?>
</table>
</center>
<br />

</center>
